package com.bootdo.system.service;

import com.bootdo.system.domain.Parents;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author 
 * @email 
 * @date 2017-09-08 11:18:55
 */
public interface ParentsService {
	
	Parents get(Long id);
	
	Parents getByOpenId(String openId);
	
	List<Parents> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(Parents bComments);
	
	int update(Parents bComments);
	
	int remove(Long id);
	
	int batchRemove(Integer[] ids);
	
	Double getConsumerTotal(Long id);
	
	Integer getOrderNums(Long id);
}
